<?php

namespace App\Exceptions;


class WechatException extends BaseException
{

	protected int $baseCode = self::BASE_CODE_OF_WECHAT;

	const CODE_1001 = 1001;
	const CODE_1002 = 1002;


	protected array $showMsg = [
		self::CODE_1001 => '获取accessToken失败',
		self::CODE_1002 => '获取用户信息失败',
	];

	function __construct($msg = '', $code = 0)
	{
		parent::__construct($msg, $code);
	}
}